home *** CD-ROM | disk | FTP | other *** search
- #include "windows.h"
-
- #define X_IN_WIN 0x0601
- #define X_OUT_WIN 0x0602
- #define X_SEND 0x0603
- #define X_CLEAR 0x0604
- #define X_END_DLG 0x0605
-
- #define MAXBUFLEN 1024
- #define MAXSTATELEN 255
-
- HMENU hMainMenu;
- HDC hDC;
- FARPROC procAddr;
- HCURSOR waitCursor;
- HCURSOR arrowCursor;
-
- /* ddpath and datapath should be
- changed to reflect the location
- of the data dictionaries */
-
- char ddpath [ ] = "c:\\";
- char datapath [ ] = "c:\\";
-
- char userid [ ] = "\0";
- char password [ ] = "\0";
- char sReserved [ ] = "\0";
- int iReserved = 0;
-
- char *buffer;
- char statement [255];
- int cursorID = -1;
- int statlen;
- int status;
-